import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import request from "@/utils/request";
//富文本代码高亮插件样式
import 'highlight.js/styles/monokai-sublime.css'
Vue.config.productionTip = false
// 使用小尺寸
Vue.use(ElementUI, { size: 'small' });
//导入axios-request
Vue.prototype.$request = request;
//自定义API全局变量,开发环境和生产环境会自动切换
Vue.prototype.$apiUrl = process.env.VUE_APP_BASEURL;

// new Vue({
//   router,
//   render: h => h(App)
// });

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
